package com.lu.manage.modular.system.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Project LuBoot
 * @Author: zhanglu
 * @Date: 2019-11-16 13:20:46
 * @Description: 博客异常日志
 */
@Data
@Accessors(chain = true)
@TableName("sys_exception_log")
public class ExceptionLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    //操作用户ID
    @TableField("user_id")
    private String userId;

    //创建时间
    @TableField(value = "create_time", fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    //包类
    @TableField("class_name")
    private String className;

    //方法名
    @TableField("method")
    private String method;

    //内容
    @TableField("message")
    private String message;

}
